//
//  DetailViewController.h
//  iMPushTestDemo
//
//  Created by xuyingwei on 16/8/10.
//  Copyright © 2016年 xuyingwei. All rights reserved.
//

#import "BaseAllViewController.h"
#import "MessageModel.h"
typedef void (^ReturnTextBlock)(NSString *showText);
@protocol secondViewDelegate
-(void)showName:(NSString *)nameString andFlag:(BOOL)isNeedRefresh;
@end
@interface DetailViewController : BaseAllViewController


@property (nonatomic, copy) ReturnTextBlock returnTextBlock;
@property (nonatomic, weak)id<secondViewDelegate> delegate;
@property (nonatomic, strong) NSDictionary *message;
@property (nonatomic, strong)MessageModel *model;
@property (nonatomic, strong)NSString *mainId;
@property (nonatomic, strong)NSString *titleName;
@property (nonatomic, strong)NSString *noticeName;
@property (nonatomic, strong)NSString *createDate;
@property (nonatomic, strong)NSString *read;//已读传过来的
@property (nonatomic, assign)BOOL isPush;
@property (nonatomic, assign)BOOL isNeedRefresh;//是否真的需要刷新
- (void)returnText:(ReturnTextBlock)block;
@end
